<?php /* Smarty version Smarty-3.1.11, created on 2013-03-14 11:37:10
         compiled from "./smarty/templates/createAccount.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17302403295141b6662930e9-81447997%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '32d27ffd34af26ee5b31df06b4bd8f24cc2802fe' => 
    array (
      0 => './smarty/templates/createAccount.tpl',
      1 => 1361446103,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17302403295141b6662930e9-81447997',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'error' => 0,
    'user' => 0,
    'email' => 0,
    'userReferred' => 0,
    'currentPage' => 0,
    'hotelID' => 0,
    'supplierType' => 0,
    'roomRateKey' => 0,
    'roomRateCode' => 0,
    'roomTypeCode' => 0,
    'hotelImage' => 0,
    'hotelName' => 0,
    'roomDescription' => 0,
    'total' => 0,
    'averageRate' => 0,
    'roomtotal' => 0,
    'nightlyRateTotal' => 0,
    'surchargeTotal' => 0,
    'currencyCode' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5141b6662d9094_73995939',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5141b6662d9094_73995939')) {function content_5141b6662d9094_73995939($_smarty_tpl) {?><div id="templatemo_main_top"></div>
<div id="templatemo_main">
    <div class="col_12 float_l">
        <div id="search-widget">
            
<?php if (1===1){?>            
    <form action="create_account.php#create" method="post" onsubmit="document.getElementById('current_url').value=document.URL">
        <table>
            <tr>
                <td colspan="2"><label style="font-style: italic">Create an account by entering the user name and password in the form below...</label></td>
            </tr>
            <tr id="create_error">
                <td colspan="2"><label style="color:red;"><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
</label></td>
            </tr>           
            <tr>
                <td><label>User name *</label></td>
                <td><input id="user" type="text" name="user" value="<?php echo $_smarty_tpl->tpl_vars['user']->value;?>
" /></td>
            </tr>
            <tr>
                <td><label>Email</label></td>
                <td><input id="email" type="text" name="email" value="<?php echo $_smarty_tpl->tpl_vars['email']->value;?>
" /></td>
            </tr>            
            
            <tr>
                <td>Password *</td>
                <td><input type="password" id="pass1" name="pass1" /></td>
            </tr>
            <tr>
                <td>Verify password *</td>
                <td><input type="password" id="pass2" name="pass2" /></td>
            </tr>            
            <tr>
                <td colspan="2"><label style="font-size:10px;">* fields are mandatory</label></td>
            </tr>            
            <tr>
                <td>
                    <?php if ($_smarty_tpl->tpl_vars['userReferred']->value===true){?>
                        <input name="currentPage"       type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['currentPage']->value;?>
">
                        <input name="hotelId"           type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotelID']->value;?>
">
                        <input name="supplierType"      type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['supplierType']->value;?>
">
                        <input name="roomRateKey"       type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['roomRateKey']->value;?>
">
                        <input name="roomRateCode"      type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['roomRateCode']->value;?>
">
                        <input name="roomTypeCode"      type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['roomTypeCode']->value;?>
">
                        <input name="hotelImage"        type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotelImage']->value;?>
">
                        <input name="hotelName"         type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotelName']->value;?>
">
                        <input name="roomDescription"   type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['roomDescription']->value;?>
">
                        <input name="total"             type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['total']->value;?>
">
                        <input name="averageRate"       type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['averageRate']->value;?>
">
                        <input name="roomtotal"         type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['roomtotal']->value;?>
"/>
                        <input name="nightlyRateTotal"  type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['nightlyRateTotal']->value;?>
"/>
                        <input name="surchargeTotal"    type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['surchargeTotal']->value;?>
"/>
                        <input name="currencyCode"      type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['currencyCode']->value;?>
"/>
                    <?php }?>
                </td>
                <td><input style="margin-top:20px;" id="search_button" type="submit" value="create" /></td>
            </tr>
           
        </table>
        <input type="hidden" name="current_url" id="current_url" value="" />        
    </form>        
<?php }else{ ?>  
    <div style="height:100px;">
    <label>Hello , you can proceed to your <a style="color:white;font-weight:bold;" href="underConstruction.php">account</a>.</label><br />
        <input style="margin-top:20px;float:left;" id="search_button" type="button" value="logout" onclick="document.location='login.php?logout=true'" />    
    </div>    
    
<?php }?>    
        </div>            
    </div>
    <div class="col_12 float_r">
    	<h2>Top Deals</h2>
        <img src="images/templatemo_image_02.jpg" alt="Image 02" class="float_l img_float_l" />
        <p><em>Check out our best hotels deals for the best touristic sites in London, San Francisco, Florida, New York, etc.</em></p>
        <p></p>
    </div>
    <div class="cleaner"></div>
</div> <!-- END of main -->
<a name="create"></a>
<script type="text/javascript">

</script>    <?php }} ?>